package com.example.yeujian5.yuejian5.service;

import com.example.yeujian5.yuejian5.bean.MatchBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by wangmengmeng on 2017/10/10.
 */

public interface MatchService {

    @GET("lists/mod/contest")
    Call<List<MatchBean>> getMatchList(
    );

    //获取比赛详情接口
    @GET("get/mod/contest")
    Call<MatchBean> getMatchById(
            @Query("id") String id
    );
}
